// 下半内容的背景颜色
$color:rgb(242,242,242);
.main{
    min-width: 1210px;
    margin: 0 auto;
    width: 1210px;
}
// 顶部内容
.topbox{
    background-color: #f1f1f1; 
    .box{
        height: 30px;
        display: flex;
        justify-content: space-between;
        font-size: 12px; 
    }
    .left{
        display: flex;
        align-items: center;
        a{
            color: #666;
        }
    }
    .right{
        display: flex;
        align-items: center;
        div{
            margin: 0 8px;
            a{
                color: #666;
                &:hover{
                    color: red;
                }
            }
        }
    }
}
// 搜索框内容开始
.searchbox{
    .box{
        height: 105px;
        display: flex;
        padding: 15px 0;
        box-sizing: border-box;
        .left{
            width: 330px;
            // border: 1px solid black;
            img{
                width: 162px;
                height: 60px;
                margin-left: 23px;
               
            }
        }
        .center{
            width: 635px;
            .inputbox{
                width: 635px;
                height: 65px;
                .boxt{
                    width: 490px;
                    height: 36px;
                    border: 2px solid red;
                    display: flex;
                    justify-content: space-between;
                    input[type="text"]{
                    width: 406px;
                    height: 26px;
                    padding: 5px;
                    outline: none;
                    border: 0;
                    }
                    input[type="button"]{
                        width: 79px;
                        height: 36px;
                        outline: none;
                        color: #FFF;
                        background-color: red;
                        border: 0;
                        }
                }
                .boxf{
                    margin-top: 4px;    
                    a{
                        color: #666;
                        &:nth-child(1)
                        {
                            color: #999 !important
                        }
                        &:hover{
                            color: red;
                        }
                    }
                }
            }
        }
        .right{
            flex: 1;
            // border: 1px solid black;
            margin-top: 5px;
            .buy{
                width: 113px;
                height: 31px;
                display: flex;
                align-items: center;
                border: 1px solid #efefef;
                justify-content: space-around;
                position: relative;
                div{
                    width: 61px;
                    height: 29px;
                    display: flex;
                    align-items: center;
                   a{
                       &:hover{
                           color: red;
                       }
                   }
                   em{
                       border-radius: 50%;
                       width: 15px;
                       height: 15px;
                       position: absolute;
                       left: 30px;
                       top: -6px;
                       font-style: normal;
                       font-weight: 600;
                       background-color: red;
                       color: #FFF;
                       text-align: center;
                   }
                }
            }
        }
    }
}
// banner 导航栏部分开始部分开始\
.navbox{
    border-bottom: 2px solid red;
    .box{
        .boxt{
            height: 40px;
            // border: 1px solid black;
            display: flex;
            align-items: center;
        .tcontent{
                z-index: 999;
                position: relative;
                .content{
                    width: 210px;
                    position: absolute;
                    height: 40px*7;
                    border: 2px solid red;
                    left: 0;
                    box-sizing: border-box;
                    display: none;
                    background-color: #efefef;
                    ul
                    {
                        li{
                            display: flex;
                            justify-content: space-between;
                            width: 206px;
                            height: 30px;
                            line-height: 30px;
                            padding: 0 10px;
                            box-sizing: border-box;
                            font-size: 14px;
                            cursor: pointer;
                            color:#666;
                            &:hover{
                                background-color: #Fff;
                            }
                        }
                    } 
                }
                .content2{
                    position: absolute;
                    width: 600px;
                    height: 280px;
                    border: 1px solid black;
                    left: 200px;
                    z-index: 10;
                    background-color: #FFF;
                    display: none;
                }
                &:hover .content{
                    display: block;
                }
            }
            .sort{
                box-sizing: border-box;
                display: flex;
                justify-content: space-between;
                width: 210px;
                height: 40px;
                font-size: 16px;
                background-color: #e4393c;
                color:#fff;
                text-align: center;
                line-height: 40px;
                cursor: pointer;
                padding-left: 20px;
                i{
                    padding-right: 20px;
                }
            }
            a{
                color: #333;
                font-size: 14px;
                &:nth-child(2)
                {
                    margin: 0 20px;
                    &:hover{
                        color:red;
                    }
                }
            }
        }
        .banner{
            position: absolute;
            left: 0;
            img{
                width: 1920px;
                height: 457px;
            }
        }
    }
}
// 商品信息部分开始
.info{
    height: 496px;
    background-color: #F2F2F2;
    .infobox{
        background-color: #FFF;
        position: relative;
        .iftop{
            line-height: 45px;
            height: 45px;
            // border: 1px solid black;
            strong{
                font-size: 18px;
                color: #666;
                margin-left: 6px;
            }
            a{
                color: #333;
                &:hover{
                    color: #459ae9;
                }
            }
            span{
                color: #aaa;
            }
        }
        .ifbottom{
            display: flex;
            height: 450px;
            // border: 1px solid black;
            .btleft{
                width: 365px;
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                img{
                    margin:7.5px 0;
                    width: 350px;
                    height: 350px;
                    cursor: pointer;
                }
                .imgselect{
                    width: 348px;
                    height: 54px;
                    display: flex;
                    align-items: center;
                    margin-top: 5px;
                    // border: 1px solid black;
                    .prev{
                        display: block;
                        font-family: "\5B8B\4F53";
                        text-align: center;
                        width: 10px;
                        height: 54px;
                        line-height: 54px;
                        border: 1px solid #ccc;
                        background: #ebebeb;
                        cursor: pointer;
                        margin-right: 4px;
                    }
                    .item{
                        li{
                            float: left;
                            width: 63px;
                            display: flex;
                            justify-content: center;
                            img{
                            width: 44px;
                            height: 44px;
                            padding: 2px;
                            border: 1px solid #ccc;
                            &:hover{
                                border-color: red;
                            }
                            }
                        }
                    }
                    .next{
                        display: block;
                        font-family: "\5B8B\4F53";
                        text-align: center;
                        width: 10px;
                        height: 54px;
                        line-height: 54px;
                        border: 1px solid #ccc;
                        background: #ebebeb;
                        cursor: pointer;
                        margin-left: 4px;
                    }
                }
            }
            .btcenter{
                width: 588px;
                // border: 1px solid black;
                .cttop{
                    padding: 15px 75px 10px 10px;
                    h1{
                        font-size: 16px;
                        color: #666;
                    }
                    .p-ad{
                        color: #e3393c;
                        font-size: 14px;
                    }
                }
                .ctbottom{
                    .price{
                        padding: 10px 0 10px 10px;
                        height: 41px;
                        // border: 1px solid black;
                        em{
                            font-style: normal;
                            font-size: 12px;
                            color: #666;
                        }
                        strong{
                            font-size: 20px;
                            color: #e4393c;
                        }
                        .comment{
                            width: 49px;
                            height: 30px;
                            border-left: 1px solid #Ccc;
                            padding: 0 10px ;
                            float: right;
                            display: flex;
                            justify-content: center;
                            flex-wrap: wrap;
                            color:#999;
                            a{
                                color: #005ea7;
                                font-size: 14px;
                            }
                        }
                    }
                    .goodinfo{
                        height: 94px;
                        padding: 0 0 10px 10px;
                        border-bottom: 1px dotted #ccc;
                        .cuxiao,.peisong{
                           height: 28px;
                           display: flex;
                           align-items: center;
                        //    border: 1px solid black; 
                           color: #666;
                           em{
                               font-style: normal;
                                background-color: #e4393c;
                                color:#fff;
                                padding: 2px;
                           }
                           &:nth-child(1){
                               span{
                                color: #e4393c;
                               }
                           }
                        }
                        .peisong{
                            .address{
                                width: 64px;
                                height: 16px;
                                padding: 2px 10px;
                                border: 1px solid transparent;
                                background-color: #f7f7f7;
                                cursor: pointer;
                                position: relative;
                                &:hover{
                                    border-color: #dcdcdc;
                                    border-bottom-color:transparent ;
                                    background-color: #FFF;
                                }
                                .addressinfo{
                                    position: absolute;
                                    z-index: 999;
                                    width: 530px;
                                    height: 450px;
                                    border: 1px solid #ccc;
                                    left: -5px;
                                    top: 20px;
                                    background-color: #FFF;
                                    display: none;
                                    .cursel{
                                        font-size: 10px;
                                        padding: 10px;
                                        margin-left: 5px;
                                        color: #666;
                                        border-bottom: 1px solid #ccc;
                                    }
                                    .selcontent{
                                        width: 440px;
                                        height: 80%;
                                        margin-left: 15px;
                                        li{
                                            float: left;
                                            width: 110px;
                                            height: 30px;
                                            line-height: 40px;
                                            a{
                                                &:hover{
                                                    color: red;
                                                }
                                            }
                                        }
                                    }
                                }
                                i{
                                    float: right;
                                }
                                em{
                                    position: absolute;
                                    left: 0;
                                    top: 20px;
                                    width: 81px;
                                    background-color: #FFF;;
                                }
                            }
                           
                        }
                    }
                    .buygood{
                        display: flex;
                        align-items: center;
                        height: 69px;
                        margin: 5px 0 0 11px;
                        color: #666;
                        .number{
                            display: flex;
                            width: 47px;
                            height: 32px;
                            border: 1px solid #ccc;
                            margin-right: 10px;
                            input[type="text"]{
                                width: 31px;
                                height:31px;
                                border: 0;
                                outline: none;
                                text-align: center;
                            }
                            .button{
                                display: flex;
                                flex-direction: column;
                                input{
                                    width: 15px;
                                    height: 15px;
                                    border: 0;
                                    outline: none;
                                    cursor: pointer;
                                    border-top: 1px solid #ccc;
                                }
                            }
                        }
                    }
                    .buybutton{
                        height: 38px;
                        // border: 1px solid black;
                        font-size: 12px;
                        margin-left: 50px;
                        .buy,.gouwuche,.sc{
                            position: relative;
                            width: 75px;
                            z-index: 0;
                            box-sizing: content-box;
                            height: 20px;
                            padding: 8px 18px;
                            border: 1px solid transparent;
                            background-color: #ba7538; 
                            border-radius: 4px;
                            color: #fff;
                            cursor: pointer;
                        }
                        .gouwuche{
                            background-color: #e13335;
                        }
                        .sc{
                            background-color: #fff;
                            color: #000;
                            border: 1px solid #ccc;
                            &:hover{
                              background-color: #eee;
                            }
                        }
                    }
                }
            }
            .btright{
                width: 244px;
                // border: 1px solid black;
                padding: 15px 22px ;
                .name,.satisfacition,.miaosu,.location,.kefu{
                    padding: 10px 9px;
                    height: 20px;
                    line-height: 20px;
                    color: #666;
                    border-bottom: 1px dotted #ccc;
                    a{
                        color: skyblue;
                    }
                }
                .miaosu,.location,.kefu{
                    height: 60px;
                    span{
                        display: block;
                        em{
                            font-style: normal;
                            color: red;
                        }
                    }
                }
                .location,.kefu{
                    height: 40px;
                }
                .enter{
                    margin-top: 10px;
                    button{
                        border: 1px solid #CCc;
                        padding: 4px 12px;
                        width: 48px;
                        height: 16px;
                        box-sizing: content-box;
                        font-size: 12px;
                        border-radius: 4px;
                        margin-right: 10px;
                        cursor: pointer;
                        &:hover{
                            color: red;
                        }
                    }
                }
            }
        }
        .minglass{
            position: absolute;
            display: none;
            background-color: #000;
            opacity: .4;
            left: 1000px;
            top: 52px;
            // 使得本身被穿透
            pointer-events: none;
        }
        .glass{
            position: absolute;
            width:350px;
            height:350px;
            border: 1px solid black;
            left: 365px;
            top: 52px;
            overflow: hidden;
            display: none;
            img{
                width: 800px;
                height: 800px;
                position: absolute;
                left: 0px;
                top: 0px;
            }
        }
    }
}
// 商品详情部分
.details{
    margin-top: 10px;
    background-color: #Fff;
    .dtbox{
        display: flex;
        .dtleft{
            height: 268px;
            width: 192px;
            border: 1px solid #ccc;
        
            .title{
                padding: 0 8px;
                font-size: 14px;
                color: #666;
                border-bottom: 1px solid #CCC;
            }
            .content{
                padding:  0 8px;
                img{
                    width: 160px;
                    height: 160px;
                    margin: 10px 0 10px 10px;
                }
                div{
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: wrap;
                    a{
                        width: 192px;
                        height: 40px;
                        display: inline-block;
                        &:hover{
                            color: skyblue;
                        }
                    }
                }
                p{
                    color: red;
                    text-align: center;
                }
            }
        }
        .dtright{
            margin-left: 10px;
            flex: 1;
            position: relative;
            .rtop{
                .title{
                    display: flex;
                    align-items: center;
                    height: 31px;
                    border-bottom: 1px solid #ccc;
                    border-top: 2px solid #ccc;
                    background-color: #f7f7f7;
                    ul{
                        li{
                            float: left;
                            font-size: 14px;
                            a{
                                line-height: 35px;
                                height: 35px;
                                padding: 0 10px;
                                &:hover{
                                    color: skyblue;
                                }
                            }
                            .current{
                                display: inline-block;
                                height: 36px;
                                margin-top: -4px;
                                border-top: 2px solid #e4393c;
                                border-left: 1px solid #dedfde;
                                border-right: 1px solid #ccc;
                                background-color: #FFF;
                            }
                        }
                        
                    }
                     
                }
            }
            .rbottom1,.rbottom3{
                display: block;
                .rbct{
                    padding: 0 10px 10px;
                    height: 118px;
                    border: 1px solid #CCC;
                    border-top: 0;
                    .mes{
                        padding: 20px 0 15px;
                        height: 64px;
                        .mesitem{
                            width: 200px;
                            height: 21px;
                            line-height: 21px;
                            padding-left: 42px;
                            float: left;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            overflow: hidden;
                            color: #666;
                            .shop{
                                color: skyblue;
                            }
                        }
                    }
                    .more{
                        float: right;
                        a{
                            color: skyblue;
                        }
                    }
                }
                .rbct2{
                    border: 1px solid #CCC;
                    margin-top: 10px;
                    p{
                        display: flex;
                        justify-content: center;
                    }
                }
            }
            .rbottom2,.rbottom4{
                display: none;
                .table1,.table2{
                    margin-top: 10px;
                    border: 1px solid #CCC;
                    .Ttitle{
                        width: 110px;
                        height: 35px;
                        padding: 2px 5px;
                        border-right: 1px solid #CCc;
                        border-top: 1px solid #CCc;
                        text-align: right;
                        background-color: #f5fafe;
                    }
                    .Tcontent{
                        width: 865px;
                        padding-left: 10px;
                        border-right: 1px solid #CCc;
                        border-top: 1px solid #CCc;
                    }
                }
                .table2{
                    margin-bottom: 20px;
                    .sumTitle{
                        width: 975px;
                        font-weight: 600;
                        text-align: center;
                        height: 45px;
                        line-height: 45px;
                        background-color: #f5fafe;
                        
                    }
                }
            }
            .rbottom3{
                display: none;
            }
        }
    }
}
// 智能正品服务部分开始
.service{
    height: 54px;
    background-color: $color;
    // border: 1px solid black;
    padding: 20px 0 34px;
    img{
        float: left;
        width: 302.5px;
        height: 54px;
    }
}
//底部内容开始
.footer{
    background-color: $color;
    .footbox{
        .fttop{
            display: flex;
            justify-content: space-around;
            height: 147px;
            dl{
                dt{
                    width: 206px;
                    font-size: 16px;
                    line-height: 20px;
                    height: 20px;
                    padding: 10px 5px;
                    color: #666;
                    border-bottom: 1px solid #e6e6e6;
                    margin: 5px 0;
                }
                dd{
                    ul li{
                        list-style: square;
                        list-style-position: inside;
                        font-size: 12px;
                        padding: 2px 5px;
                        a{
                            color:#666;
                        }
                    }
                }
            }
        }
        .ftbottom{
            padding: 20px 0;
            color: #666;
            p{
                display: flex;
                justify-content: center;
                img{
                    width: 20px;
                    height: 20px;
                }
                a{
                    color: #666;
                    &:hover{
                        text-decoration: underline;
                    }
                }
            }
           
        }
    }
}